<?php

# PMB Online
# Aplikasi PMB Online untuk Pendaftaran Calon Mahasiswa di PT/PTS Indonesia
# 
# version 1.0
# class gel_form
# file
# created Feb 5, 2013 10:50:00 PM
# 
# (c)2012, arif.laksito@gmail.com

if (!defined('BASEPATH'))
    exit('No direct script access allowed');
?>

<script>
$(function() {
    $( "#date1, #date2, #date3" ).datepicker({
        changeMonth: true,
        changeYear: true,
        yearRange: "c-2:c+2",
        dateFormat: "yy-mm-dd"
    });
});
</script>

<h3><?php echo $head?></h3>
<ul class="breadcrumb">
    <li>PMB Online <span class="divider">/</span></li>  
    <li>Data Master <span class="divider">/</span></li>
    <li><?php echo $head?></li>
</ul>

<?php if (isset($msg)): ?>
    <div class="<?php echo ($sts) ? 'alert alert-success' : 'alert alert-error' ?>">
        <?php echo $msg ?>
    </div>
<?php endif ?>

<form action="" method="post">
    <label>Nama Gelombang</label>
    <input type="text" name="nama_gel" class="input-xlarge" value="<?php echo $post['nama_gel']?>"/>
    
    <label>Tanggal Mulai</label>
    <input id="date1" type="text" name="start_gel" class="input-small" value="<?php echo $post['start_gel']?>"/>
    
    <label>Tanggal Selesai</label>
    <input id="date2" type="text" name="end_gel" class="input-small" value="<?php echo $post['end_gel']?>"/>
    
    <label>Tanggal Akhir Bayar</label>
    <input id="date3" type="text" name="end_bayar" class="input-small" value="<?php echo $post['end_bayar']?>"/>
    
    <label></label>
    <button class="btn btn-small btn-success">Simpan</button>
</form>